Parses the specified value and returns the enumeration.
Syntax
Visual Basic (Declaration) | |
---|
Public Shared Function Parse( _
ByVal value As String _
) As T |
Visual Basic (Usage) | Copy Code |
---|
Dim value As String
Dim value As T
value = Enum(Of T).Parse(value)
|
Managed Extensions for C++ | |
---|
public: static T Parse(
string* value
) |
Parameters
- value
- The value to parse.
Return Value
The enumeration value.
Requirements
Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
See Also